﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;

namespace VideoSpliter.CustomControl
{
    public class FlatButton:Button
    {





        public SolidColorBrush PressedBrush
        {
            get { return (SolidColorBrush)GetValue(PressedBrushProperty); }
            set { SetValue(PressedBrushProperty, value); }
        }

        // Using a DependencyProperty as the backing store for HoveredBrush.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty PressedBrushProperty =
            DependencyProperty.Register("PressedBrush", typeof(SolidColorBrush), typeof(FlatButton), new PropertyMetadata(new SolidColorBrush(Colors.LightGray)));




        public SolidColorBrush MouseOverBrush
        {
            get { return (SolidColorBrush)GetValue(MouseOverBrushProperty); }
            set { SetValue(MouseOverBrushProperty, value); }
        }

        // Using a DependencyProperty as the backing store for PressedBrush.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty MouseOverBrushProperty =
            DependencyProperty.Register("MouseOverBrush", typeof(SolidColorBrush), typeof(FlatButton), new PropertyMetadata(new SolidColorBrush(Colors.Gray)));


        






    }
}
